﻿using System;
using System.Collections.Generic;
using System.ServiceModel;

namespace HobSoft.SoccerBet2014.Domain.ClientService
{
    using Core;
    using Models;

    /// <summary>
    /// 提供客户端定制的必发数据
    /// </summary>
    [ServiceContract]
    public interface IBfCustomDataService : IService
    {
        [OperationContract]
        IList<BFEvent> GetLive(DateTime? lastUpdateTime);

        [OperationContract]
        IList<BFMarket> GetLiveMarket(DateTime? lastUpdateTime);

        [OperationContract]
        IList<GameMapping> GetMapping(DateTime? lastUpdateTime);

        [OperationContract]
       BFEvent GetEvent(int eventId);

        [OperationContract]
        IList<BFEvent> GetEventByMarket(string[] marketIds);

        [OperationContract]
        IList<BFMarket> GetMarkets(int eventId);
    }
}
